package com.ruoyi.appraisal.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 房屋估价对象 house_appraisal
 * 
 * @author ruoyi
 * @date 2025-11-09
 */
public class HouseAppraisal extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID（自动生成） */
    private Long id;

    /** 楼层 */
    @Excel(name = "楼层")
    private Long floor;

    /** 房屋面积（单位：㎡） */
    @Excel(name = "房屋面积", readConverterExp = "单=位：㎡")
    private Long houseArea;

    /** 房屋地址 */
    @Excel(name = "房屋地址")
    private String address;

    /** 所属区域（如：曲江区、未央区） */
    @Excel(name = "所属区域", readConverterExp = "如=：曲江区、未央区")
    private String area;

    /** 房屋朝向（如：南北通透、朝南） */
    @Excel(name = "房屋朝向", readConverterExp = "如=：南北通透、朝南")
    private String direction;

    /** 房屋户型（如：三室一厅、两室两厅） */
    @Excel(name = "房屋户型", readConverterExp = "如=：三室一厅、两室两厅")
    private String houseType;

    /** 周边配套（如：近地铁、学区房） */
    @Excel(name = "周边配套", readConverterExp = "如=：近地铁、学区房")
    private String surroundings;

    /** 预测结果（房屋总价，单位：万元） */
    @Excel(name = "预测结果", readConverterExp = "房=屋总价，单位：万元")
    private Long result;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setFloor(Long floor) 
    {
        this.floor = floor;
    }

    public Long getFloor() 
    {
        return floor;
    }

    public void setHouseArea(Long houseArea) 
    {
        this.houseArea = houseArea;
    }

    public Long getHouseArea() 
    {
        return houseArea;
    }

    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }

    public void setArea(String area) 
    {
        this.area = area;
    }

    public String getArea() 
    {
        return area;
    }

    public void setDirection(String direction) 
    {
        this.direction = direction;
    }

    public String getDirection() 
    {
        return direction;
    }

    public void setHouseType(String houseType) 
    {
        this.houseType = houseType;
    }

    public String getHouseType() 
    {
        return houseType;
    }

    public void setSurroundings(String surroundings) 
    {
        this.surroundings = surroundings;
    }

    public String getSurroundings() 
    {
        return surroundings;
    }

    public void setResult(Long result) 
    {
        this.result = result;
    }

    public Long getResult() 
    {
        return result;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("floor", getFloor())
            .append("houseArea", getHouseArea())
            .append("address", getAddress())
            .append("area", getArea())
            .append("direction", getDirection())
            .append("houseType", getHouseType())
            .append("surroundings", getSurroundings())
            .append("result", getResult())
            .append("createTime", getCreateTime())
            .toString();
    }
}
